var otz997_1 = 3;
var otz997_2 = 5;
var otz997_3 = otz997_1; //检测三个触点

var otz997_4, otz997_5;
var otz997_5, otz997_6, otz997_7;

var otz997_6 = [],
	otz997_7 = [];
var otz997_8 = [],
	otz997_9, otz997_10;
var otz997_11 = [];

var otz997_12 = 1648655999000;
// var otz997_13 = 1634286690831;
// 时间戳，限制到哪个时间

var otz997_14 = true;
var otz997_15 = 0,
	otz997_16 = false;

var otz997_17, otz997_18;

function startTimer() {
	otz997_16 = true;
	setTimeout(function() {
		otz997_16 = false;
		console["\x6c\x6f\x67"]("\x67\x50\x6f\x69\x6e\x74\x44\x6f\x77\x6e\x41\x72\x72\x61\x79 \x3a ", otz997_6[
			"\x6c\x65\x6e\x67\x74\x68"], otz997_6);
		if (otz997_3 == otz997_1) {
			if (otz997_6["\x6c\x65\x6e\x67\x74\x68"] >= otz997_1 && otz997_14) {
				otz997_14 = false;
				var gEC1 = 0;
				var _hciXbuei2 = parseGreaterThreePoint(otz997_6);
				var CJWjGOL3 = null;
				if (_hciXbuei2) {
					CJWjGOL3 = getSeal(_hciXbuei2);
				}
				if (CJWjGOL3) {
					if (otz997_17) {
						console["\x6c\x6f\x67"]("\x2d\x2d\x2d\x2d\x73\x75\x63\x63\x65\x73\x73\x2d\x2d\x2d\x2d\x2d ", CJWjGOL3);
						otz997_17(CJWjGOL3["\x53\x65\x61\x6c\x43\x6f\x64\x65"], otz997_6, CJWjGOL3[
							"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65"]);
					} else {
						console["\x6c\x6f\x67"]('\u6211\u662f\u7a7a\u7684\u5440');
					}
				} else {
					if (otz997_18) {
						console["\x6c\x6f\x67"]("\x2d\x2d\x2d\x2d\x66\x61\x69\x6c\x65\x64\x2d\x2d\x2d\x2d\x2d");
						otz997_18();
					}
				}
				otz997_6 = [];
				otz997_7 = [];
				otz997_8 = [];
				otz997_11 = [];
				otz997_14 = true;
			}
		}
	}, 300);
}

function touchStart(nRLN1, dbza2, DRgt3) {
	otz997_17 = dbza2;
	otz997_18 = DRgt3;
	var otz997_13 = new Date().getTime();
	console.log('otz997_13',otz997_13);
	if (otz997_12 <= otz997_13) {
		if (otz997_18) {
			otz997_18('\x73\x64\x6b\u5305\u5df2\u8fc7\u671f');
		}
	} else {
		if (!otz997_16) {
			startTimer();
		}
		if (otz997_6["\x6c\x65\x6e\x67\x74\x68"] > 0) {
			var NPJRKMTRK4 = [];
			for (var yd5 = 0; yd5 < otz997_6["\x6c\x65\x6e\x67\x74\x68"]; yd5++) {
				NPJRKMTRK4["\x70\x75\x73\x68"](otz997_6[yd5]["\x74\x6f\x75\x63\x68\x54\x69\x6d\x65"]);
			}
			NPJRKMTRK4 = NPJRKMTRK4["\x73\x6f\x72\x74"](function(a, ye6) {
				return a - ye6;
			});
			var egBIdW7 = window["\x4d\x61\x74\x68"]["\x61\x62\x73"](otz997_6[0]["\x74\x6f\x75\x63\x68\x54\x69\x6d\x65"] -
				otz997_6[otz997_6["\x6c\x65\x6e\x67\x74\x68"] - 1]["\x74\x6f\x75\x63\x68\x54\x69\x6d\x65"]);
			if (egBIdW7 >= 1000) {
				otz997_6 = [];
			}
		}
		if (nRLN1["\x74\x6f\x75\x63\x68\x65\x73"]["\x6c\x65\x6e\x67\x74\x68"] >= otz997_1) addPointToArray(nRLN1[
			"\x74\x6f\x75\x63\x68\x65\x73"], otz997_6);
		console["\x6c\x6f\x67"]("\x74\x6f\x75\x63\x68 \x73\x74\x61\x72\x74");
	}
}

function touchEnd(otz1, bbf2, uMA$w3) {
	addPointToArray(otz1["\x63\x68\x61\x6e\x67\x65\x64\x54\x6f\x75\x63\x68\x65\x73"], otz997_7);
}

function parseGreaterThreePoint(HSC1) {
	var Dtyj2 = [];
	var GEfKC3;
	if (HSC1["\x6c\x65\x6e\x67\x74\x68"] >= otz997_3) {
		for (var szNHDf4 = 0; szNHDf4 < HSC1["\x6c\x65\x6e\x67\x74\x68"]; szNHDf4++) {
			for (var iUMGR5 = szNHDf4 + 1; iUMGR5 < HSC1["\x6c\x65\x6e\x67\x74\x68"]; iUMGR5++) {
				for (var f6 = iUMGR5 + 1; f6 < HSC1["\x6c\x65\x6e\x67\x74\x68"]; f6++) {
					var ScvS7 = HSC1[szNHDf4],
						GsE8 = HSC1[iUMGR5],
						iIgVtX9 = HSC1[f6];
					var GbQcYn$WU10 = calcAngle(ScvS7, GsE8, iIgVtX9);
					var UH13 = calcAngle(GsE8, iIgVtX9, ScvS7);
					var rk16 = calcAngle(iIgVtX9, ScvS7, GsE8);
					var I19 = [GbQcYn$WU10, UH13, rk16];
					I19 = I19["\x73\x6f\x72\x74"](function(a, pAPhDT22) {
						return a - pAPhDT22;
					});
					Dtyj2["\x70\x75\x73\x68"](I19);
				}
			}
		}
		GEfKC3 = distinguishGraphic(Dtyj2);
	} else {
		console["\x6c\x6f\x67"]("\x2d\x2d \x3c\x33 \x76\x69\x63\x2d\x2d");
		GEfKC3 = null;
	}
	console["\x6c\x6f\x67"]("\x2d\x2d\x74\x72\x69\x61\x6e\x67\x6c\x65\x53\x65\x74\x73\x2d\x2d", Dtyj2);
	return GEfKC3;
}

function distinguishGraphic(qp1) {
	var bssGhu2 = 0,
		E3 = 0,
		RAD4 = 0,
		WvzS5 = 0;
	for (var se_huEIwv6 = 0; se_huEIwv6 < qp1["\x6c\x65\x6e\x67\x74\x68"]; se_huEIwv6++) {
		var skPrZcOqW7 = qp1[se_huEIwv6];
		if ((skPrZcOqW7[0] >= 40 && skPrZcOqW7[0] <= 50) && (skPrZcOqW7[1] >= 40 && skPrZcOqW7[1] <= 50) && (skPrZcOqW7[2] >=
				85 && skPrZcOqW7[2] <= 95)) {
			bssGhu2++;
		}
		if ((skPrZcOqW7[0] >= 51 && skPrZcOqW7[0] <= 66) && (skPrZcOqW7[1] >= 51 && skPrZcOqW7[1] <= 66) && (skPrZcOqW7[2] >=
				51 && skPrZcOqW7[2] <= 66)) {
			E3++;
		}
		if ((skPrZcOqW7[0] >= 10 && skPrZcOqW7[0] <= 25) && (skPrZcOqW7[1] >= 38 && skPrZcOqW7[1] <= 50) && (skPrZcOqW7[2] >=
				110 && skPrZcOqW7[2] <= 126)) {
			RAD4++;
		}
		if ((skPrZcOqW7[0] >= 0 && skPrZcOqW7[0] <= 10) && (skPrZcOqW7[1] >= 0 && skPrZcOqW7[1] <= 10) && (skPrZcOqW7[2] >=
				170 && skPrZcOqW7[2] <= 180)) {
			WvzS5++;
		}
		otz997_11["\x70\x75\x73\x68"]("\x61\x41\x6e\x67\x6c\x65\x3a");
		otz997_11["\x70\x75\x73\x68"](skPrZcOqW7[0]);
		otz997_11["\x70\x75\x73\x68"]("\x62\x41\x6e\x67\x6c\x65\x3a");
		otz997_11["\x70\x75\x73\x68"](skPrZcOqW7[1]);
		otz997_11["\x70\x75\x73\x68"]("\x63\x41\x6e\x67\x6c\x65\x3a");
		otz997_11["\x70\x75\x73\x68"](skPrZcOqW7[2]);
		otz997_11["\x70\x75\x73\x68"]("\x65\x6e\x64");
	}
	var jG8;
	var LBi9 = bssGhu2 > E3 ? bssGhu2 : E3;
	var UEfMjTFC10 = RAD4 > WvzS5 ? RAD4 : WvzS5;
	var swEYpyM11 = LBi9 > UEfMjTFC10 ? LBi9 : UEfMjTFC10;
	if (swEYpyM11 != 0) {
		switch (swEYpyM11) {
			case bssGhu2:
				jG8 = "\x49\x6f\x73\x63\x65\x6c\x65\x73\x52\x69\x67\x68\x74\x54\x72\x69\x61\x6e\x67\x6c\x65";
				break;
			case E3:
				jG8 = "\x45\x71\x75\x69\x6c\x61\x74\x65\x72\x61\x6c\x54\x72\x69\x61\x6e";
				break;
			case RAD4:
				jG8 = "\x4f\x62\x74\x75\x73\x65\x41\x6e\x67\x6c\x65";
				break;                                                                                           
			case WvzS5:
				jG8 = "\x53\x74\x72\x61\x69\x67\x68\x74\x4c\x69\x6e\x65";
				break;
			default:
				jG8 = null;
				break;
		}
	} else {
		jG8 = null;
	}
	return jG8;
}

function calcAngle(uMA$w3a, bHSC1, cqp1) {
	var abVector = point(0, bHSC1.pageX - uMA$w3a.pageX, bHSC1.pageY - uMA$w3a.pageY);
	var acVector = point(0, cqp1.pageX - uMA$w3a.pageX, cqp1.pageY - uMA$w3a.pageY);
	var abVectorMultiAcVector = abVector.pageX * acVector.pageX + abVector.pageY * acVector.pageY;
	var abVectorModel = Math.sqrt(Math.pow(abVector.pageX, 2) + Math.pow(abVector.pageY, 2));
	var acVectorModel = Math.sqrt(Math.pow(acVector.pageX, 2) + Math.pow(acVector.pageY, 2));
	var cosAbVectorAcVector;
	if (abVectorModel == 0 || acVectorModel == 0) {
		cosAbVectorAcVector = 0;
	} else {
		cosAbVectorAcVector = parseFloat(abVectorMultiAcVector / (abVectorModel * acVectorModel).toFixed(6));
	}
	var angel = Math.round(Math.acos(cosAbVectorAcVector) * 180 / Math.PI);
	return angel;
}


function getPointCoordinate(vUAZ1, Vd2, s3) {
	var yLW4;
	if (vUAZ1["\x70\x61\x67\x65\x58"] > Vd2 && vUAZ1["\x70\x61\x67\x65\x59"] < s3) {
		yLW4 = 1;
	} else if (vUAZ1["\x70\x61\x67\x65\x58"] < Vd2 && vUAZ1["\x70\x61\x67\x65\x59"] < s3) {
		yLW4 = 2;
	} else if (vUAZ1["\x70\x61\x67\x65\x58"] < Vd2 && vUAZ1["\x70\x61\x67\x65\x59"] > s3) {
		yLW4 = 3;
	} else if (vUAZ1["\x70\x61\x67\x65\x58"] > Vd2 && vUAZ1["\x70\x61\x67\x65\x59"] > s3) {
		yLW4 = 4;
	}
	return yLW4;
}

function addPointToArray(iEynka1, UI2) {
	for (var dQgtrXUG3 = 0; dQgtrXUG3 < iEynka1["\x6c\x65\x6e\x67\x74\x68"]; dQgtrXUG3++) {
		var NdiVNzb4 = false;
		var WDbCajUo5 = iEynka1[dQgtrXUG3];
		for (var OmZElc6 = 0; OmZElc6 < UI2["\x6c\x65\x6e\x67\x74\x68"]; OmZElc6++) {
			if (WDbCajUo5["\x69\x64\x65\x6e\x74\x69\x66\x69\x65\x72"] == UI2[OmZElc6]["\x69\x64\x65\x6e\x74\x69\x66\x69\x65\x72"]) {
				NdiVNzb4 = true;
				break;
			}
		}
		if (!NdiVNzb4) {
			var T7 = new point(WDbCajUo5["\x69\x64\x65\x6e\x74\x69\x66\x69\x65\x72"], WDbCajUo5["\x70\x61\x67\x65\x58"],
				WDbCajUo5["\x70\x61\x67\x65\x59"]);
			UI2["\x70\x75\x73\x68"](T7);
		}
	}
}

function point(iEynka1997587, iEynka1997, iEynka1997998) {
	var identifier = iEynka1997587;
	var pageX = iEynka1997;
	var pageY = iEynka1997998;
	var touchTime = new Date().getTime();
	var p = {
		"identifier": identifier,
		"pageX": pageX,
		"pageY": pageY,
		"touchTime": touchTime,
		"sort": 0
	}
	return p;
}

function getSeal(DqPjTjK1) {
	var jM2 = null;
	var pCKBWmIe3 = [{
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x32\x33\x34\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x32\x33\x34\x53\x45\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": "\x49\x6f\x73\x63\x65\x6c\x65\x73\x52\x69\x67\x68\x74\x54\x72\x69\x61\x6e\x67\x6c\x65"
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x32\x33\x36\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x32\x33\x53\x45\x36\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": "\x45\x71\x75\x69\x6c\x61\x74\x65\x72\x61\x6c\x54\x72\x69\x61\x6e"
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x36\x38\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x45\x41\x36\x4c\x38\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": "\x4f\x62\x74\x75\x73\x65\x41\x6e\x67\x6c\x65"
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x34\x38\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x34\x45\x41\x4c\x38\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": "\x53\x74\x72\x61\x69\x67\x68\x74\x4c\x69\x6e\x65"
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x32\x33\x38\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x32\x33\x53\x45\x41\x4c\x38\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x34\x36\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x34\x45\x36\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x35\x38\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x45\x35\x41\x4c\x38\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x34\x35\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x34\x35\x45\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x32\x33\x35\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x32\x33\x53\x35\x45\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, {
		"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": "\x31\x33\x35\x36\x39",
		"\x53\x65\x61\x6c\x43\x6f\x64\x65": "\x31\x53\x33\x45\x35\x36\x41\x4c\x39",
		"\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65": ""
	}, ];
	if (otz997_3 == otz997_1) {
		for (var GLXQFiZyC4 = 0; GLXQFiZyC4 < pCKBWmIe3["\x6c\x65\x6e\x67\x74\x68"]; GLXQFiZyC4++) {
			if (DqPjTjK1 == pCKBWmIe3[GLXQFiZyC4]["\x53\x65\x61\x6c\x50\x6f\x6c\x79\x67\x6f\x6e\x65"]) {
				jM2 = {
					"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": pCKBWmIe3[GLXQFiZyC4][
						"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65"
					],
					"\x53\x65\x61\x6c\x43\x6f\x64\x65": pCKBWmIe3[GLXQFiZyC4]["\x53\x65\x61\x6c\x43\x6f\x64\x65"]
				};
			}
		}
	} else {
		var r5 = DqPjTjK1["\x74\x6f\x53\x74\x72\x69\x6e\x67"]();
		r5 = r5["\x72\x65\x70\x6c\x61\x63\x65"](/,/g, "");
		for (var oSEKblh6 = 0; oSEKblh6 < pCKBWmIe3["\x6c\x65\x6e\x67\x74\x68"]; oSEKblh6++) {
			if (r5 == pCKBWmIe3[oSEKblh6]["\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65"]) {
				jM2 = {
					"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65": pCKBWmIe3[oSEKblh6][
						"\x50\x68\x79\x73\x69\x63\x73\x43\x6f\x64\x65"
					],
					"\x53\x65\x61\x6c\x43\x6f\x64\x65": pCKBWmIe3[oSEKblh6]["\x53\x65\x61\x6c\x43\x6f\x64\x65"]
				};
			}
		}
	}
	return jM2;
}
export default {
	touchStart,
	touchEnd
}
